package com.haizhi.crm.sys.auth.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * Created by yangyijun on 2018/5/16.
 */
@Data
public class PositionQo implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "岗位ID", required = true)
    @NotNull(message = "岗位ID不能为空" )
    private Long id;

    @ApiModelProperty(value = "岗位名称", required = true)
    @NotNull(message = "岗位名称不能为空" )
    private String name;

    @ApiModelProperty(value = "岗位状态:1可用；0不可用", required = true)
    @NotNull(message = "岗位状态不能为空" )
    private String enabledFlag;

    @ApiModelProperty(value = "签证", required = true)
    @NotNull(message = "签证不能为空" )
    private String signature;
}
